﻿@model TJBHJJ.Models.Product
@{
    ViewBag.Title = "添加案例";
}
@using (Html.BeginForm("AddProduct", "Manager"))
{
    @Html.ValidationSummary(true)
    <fieldset>
        <legend>添加案例</legend>
        <div class="editor-field">
            案例名称：
            @Html.EditorFor(model => model.Name)
            @Html.ValidationMessageFor(model => model.Name)
        </div>
        <div class="editor-field">
            案例描述：
            @Html.TextAreaFor(model => model.Descriptions)
            @Html.ValidationMessageFor(model => model.Descriptions)
        </div>
        <div class="editor-field">
            是否显示：
            @Html.EditorFor(model => model.IsDispaly)
            @Html.ValidationMessageFor(model => model.IsDispaly)
        </div>
        <p>
            <input type="submit" value="保存" />
        </p>
    </fieldset>
}
<div>
    @Html.ActionLink("返回列表", "ListProduct")
</div>
